# -*- encoding:utf-8 -*-

# 阿里软件SIP（服务集成平台）入口
SIP_SERVICE_URL = "http://sip.alisoft.com/sip/rest/"
# 阿里软件SIP沙箱环境入口
SIP_SANDBOX_SERVICE_URL = "http://sipdev.alisoft.com/sip/rest/"
# 淘宝API入口
API_SERVICE_URL = "http://gw.api.taobao.com/router/rest"
# 淘宝插件平台入口
CONTAINER_URL = "http://container.api.taobao.com/container"
# 淘宝API沙箱环境入口
API_SANDBOX_SERVICE_URL = "http://gw.api.tbsandbox.com/router/rest"
# 淘宝插件平台沙箱环境入口
CONTAINER_SANDBOX_URL = "http://container.api.tbsandbox.com/container"

EMPTY_STR = ""
# SIP系统级参数
SIP_APPKEY = "sip_appkey"
SIP_APINAME = "sip_apiname"
SIP_SESSIONID = "sip_sessionid"
SIP_SIGN = "sip_sign"
SIP_TIMESTAMP = "sip_timestamp"

# 系统级参数
APIKEY = "api_key"
METHOD = "method"
SESSION = "session"
SIGN = "sign"
TIMESTAMP = "timestamp"
FORMAT = "format"
VERSION = "v"
# 默认版本号
DEFAULT_SERVICE_VERSION = "1.0"

# Error Response Params
ERROR_RSP = "error_rsp"
ERROR_CODE = "code"
ERROR_MSG = "msg"
# Base Response Params
RSP = "rsp"
TOTALRESULTS = "totalResults"

# 应用参数
ITEMS = "items"
ITEM_SEARCHS="itemsearchs"
AOBAO_TAOKE_ITEMS = "taobaokeItems"
TAOBAO_TAOBAOKE_SHOPS = "taobaokeShops"
ITEMEXTRAS = "itemextras"
USERS = "users"
ITEM_CATS = "item_cats"
SHOP_CATS = "shop_cats"
SELLER_CATS = "seller_cats"
SPUS = "spus"
ITEM_PROPS = "item_props"
POSTAGES = "postages"
SKUS = "skus"
SHIPPING_ADDRESS = "shipping_addresses"
PRODUCTS = "products"

